package com.sangeng.domain.entity.role;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@TableName("sys_role_permission")
@AllArgsConstructor
@NoArgsConstructor
public class PermissionRole implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 角色ID */
    @TableField("role_id")
    private Long roleId;
    /** 权限ID */
    @TableField("permission_id")
    private Long permissionId;
}
